home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / a_utils / perl / prlbkxmp.lha / ch5 / commas < prev    next >
Text File  |  1991-01-08  |  132b  |  8 lines

  1. sub commas {
  2.     local($_) = @_;
  3.     1 while s/(.*\d)(\d\d\d)/$1,$2/;
  4.     $_;
  5. }
  6. ...
  7. _$_R_E_S_U_L_T =  &commas(_E_X_P_R);
  8.